Skip to content

Add Refresh Connections (Mouse Without Borders) to Quick Access#46025

Open
Copilot wants to merge 3 commits intomainfrom
copilot/add-refresh-connections-qaccess
Open

Add Refresh Connections (Mouse Without Borders) to Quick Access#46025
Copilot wants to merge 3 commits intomainfrom
copilot/add-refresh-connections-qaccess

Conversation

Copy link
Contributor

Copilot AI commented Mar 10, 2026

Summary of the Pull Request

Adds the Mouse Without Borders "Refresh connections" action to both the Quick Access tray flyout and the Settings Dashboard, so users can trigger a reconnect without navigating into MWB settings.

PR Checklist

  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Quick Access flyout (Settings.UI.Controls)

  • QuickAccessViewModel: Added MouseWithoutBorders to InitializeItems(); tooltip shows the configured ReconnectShortcut.
  • QuickAccessLauncher: Added case ModuleType.MouseWithoutBorders — signals MWBReconnectEvent (same named Windows event used by the CmdPal MWBReconnectCommand).

Settings Dashboard (Settings.UI)

  • DashboardViewModel: Added GetModuleItemsMouseWithoutBorders() returning a DashboardModuleButtonItem wired to a new MouseWithoutBordersReconnectClicked handler that fires MWBReconnectEvent. Added the module to the GetModuleItems() switch. Added using System.Threading and using PowerToys.Interop.

No new strings — reuses existing MouseWithoutBorders_ReconnectButton.Text ("Refresh connections") and MouseWithoutBorders_ReconnectTooltip.Text for the button label and description.

Validation Steps Performed

  • Verified MWBReconnectEvent is the same event used by MWBReconnectCommand in the CmdPal extension.
  • Confirmed MouseWithoutBorders.png icon exists in Assets/Settings/Icons/.
  • Confirmed PowerToys.Interop is already referenced by PowerToys.Settings.csproj.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • o3svsblobprodcus318.vsblob.vsassets.io
    • Triggering command: /usr/bin/dotnet dotnet build Settings.UI/PowerToys.Settings.csproj -c Debug (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add Refresh Connections (from Mouse Without Borders) to Quick Access</issue_title>
<issue_description>### Description of the new feature / enhancement

As per subject ... add Refresh Connections (from Mouse Without Borders) to Quick Access

Scenario when this would be used?

There are a number of scenarios (in my use case) where I have one of my machines connected to a business VPN .... which in 90% of the cases triggers a small network drop resulting in the machine dropping off mouse w/o borders - a refresh connections fixes it - but is currently a bit annoying to get to.

Supporting information

No response</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI and others added 2 commits March 10, 2026 05:15
…and Settings Dashboard

Co-authored-by: niels9001 <9866362+niels9001@users.noreply.github.com>
…ization

Co-authored-by: niels9001 <9866362+niels9001@users.noreply.github.com>
Copilot AI changed the title [WIP] Add refresh connections from Mouse Without Borders to Quick Access Add Refresh Connections (Mouse Without Borders) to Quick Access Mar 10, 2026
@niels9001 niels9001 requested a review from moooyo March 10, 2026 08:58
@niels9001 niels9001 marked this pull request as ready for review March 10, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Refresh Connections (from Mouse Without Borders) to Quick Access

2 participants